package com.maiji.cloud.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


@NoArgsConstructor
@Data
@Accessors(chain=true)

@ApiModel(value = "BaseInputDto")
public class BaseInputDto<T> {

    @ApiModelProperty(value = "输入的数据")
    private T data;

    @ApiModelProperty(required = true,value = "分页信息")
    private ReqMetaData metaData;

    public BaseInputDto(T data){
        super();
        this.data = data;
    }

}
